package com.cangshi.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;


@Controller
public class TestController {

//    @Autowired
//    WorkService workService;

    @ResponseBody
    @RequestMapping(value = "/test", method = RequestMethod.GET ,produces = "text/html;charset=UTF-8")
    public String init(@RequestParam String val){
        return "你好你看见我了??？\n"+"我觉得："+val;
    }
}
